package com.baizhi.dao;

import com.baizhi.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDao {

    List<User> findAll();

    User findById(String id);

    int save(User user);

    int update(User user);

    int deleteById(String id);
}
